<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'App',
  mounted() {
    // console.log('app挂载')
    // this.getUserBasicInfo()
  },
  methods: {
    //得到用户基本信息
  async  getUserBasicInfo() {
     let res = await this.$store.dispatch("user/GetAllUserInfo");
     console.log(res)
    },
  },
}
</script>

<style>
#app {
  width:100%;
  
}
</style>
